#include "Auger.h"
#include "HelloWorldScene.h"
#include "BaseBadPoint.h"
#include "Tool.h"

Auger::Auger(void)
{
}

Auger::~Auger(void)
{
	pTool->autorelease();
}

Auger::Auger(CCLayer* helloWorld, std::vector<BaseTooth*> pTwTooth){
	    pTool = new Tool(pTwTooth);
		pTool->touchEndedX = 93;
		pTool->touchEndedY = 66;
    
        pTool->relativeX = 0;
        pTool->relativeY = 0;
    
		pTool->initWithTexture( CCTextureCache::sharedTextureCache()->addImage("yy_tool_4.png"));
		pTool->setPosition(ccp(408,172));
	    pTool->setZOrder(5);
		helloWorld->addChild(pTool);
		pTool->fixKind = BaseBadPoint::HOLE;
}
 